 public  class  Animal {
    String name;

     public static void main(String[] args) {
         final int[][] array= {{1,2,3},{1}};
         //array = new int[][];//报错
         array[0][0] = 99;
     }
    public Animal(String name) {
        this.name = name;
    }
}
class Dog extends Animal {


    public Dog(String name) {
        super(name);
    }

    public void  setNam(String na) {
        super.name = na;
    }
}